package com.soft.javase.day02.review.associationanddependency;

/**
 * @author yzh
 * @desc TODO
 * @date 2025/4/16
 */
public class Test {
    public static void main(String[] args) {
        Phone phone = new Phone("华为", 5000.0);
        Car car = new Car("宝马", "白色");
        Person person = new Person("李四", 25, phone);
        person.call();
        person.work(car);
    }
}
